home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / hostid.z / hostid
Text File  |  1998-10-20  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. HHHHOOOOSSSSTTTTIIIIDDDD((((1111))))                                                            HHHHOOOOSSSSTTTTIIIIDDDD((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      hostid - set or print identifier of current host system
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      hhhhoooossssttttiiiidddd [ _h_e_x_n_u_m | _h_o_s_t_n_a_m_e ]
  13.      hhhhoooossssttttiiiidddd ----hhhh _h_o_s_t_n_a_m_e
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      The _h_o_s_t_i_d command with no arguments prints the identifier of the current
  17.      host in hexadecimal.  This numeric value is expected to be unique across
  18.      all hosts and is commonly set to the host's Internet address.  The
  19.      super-user can set the host ID by giving an argument that is a
  20.      hexadecimal value or a hostname.  With the ----hhhh option, the argument must
  21.      be a hostname.  If the argument is a hostname, _h_o_s_t_i_d sets the ID to the
  22.      name's Internet address listed in /_e_t_c/_h_o_s_t_s.  _H_o_s_t_i_d sets the exit
  23.      status to 0 if it successfully changed the host ID and to 1 if not.  The
  24.      script /_e_t_c/_i_n_i_t._d/_n_e_t_w_o_r_k uses _h_o_s_t_i_d to set the ID during system
  25.      startup to the Internet address of the hostname found in /etc/sys_id.
  26.  
  27. FFFFIIIILLLLEEEESSSS
  28.      /etc/hosts     hostname-address database
  29.  
  30. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  31.      gethostid(2), sethostid(2), sysinfo(1), network(1M), hosts(4)
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.